package reflectionbean;

import java.util.List;
import java.util.Map;

public class User {
    private int id;
    private int age;
    private String uname;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public User(int id, int age, String uname) {
        this.id = id;
        this.age = age;
        this.uname = uname;
    }
    public User(){

    }

    /**
     * 测试反射操作泛型
     * @param map
     * @param list
     */
    public void test01(Map<String,User> map, List<User> list){
        System.out.println("test01");
    }
    public Map<Integer,User> test02(){
        System.out.println("test02");
        return null;
    }
}
